Systems and methods for detecting intrusion while in artificial reality

ABSTRACT

In one embodiment, a method includes displaying, through a head-mounted display (HMD), virtual objects to a user wearing the HMD. The method then accesses a boundary definition that corresponds to a boundary within a physical space surrounding the user and generates a plurality of spatial points based on depth measurements of physical objects within the physical space. Based on the spatial points, a location at which a physical object is likely to exist is determined. The method determines whether the location of the physical object is inside the boundary definition and, in response to this determination, issues an alert to the user.

TECHNICAL FIELD

This disclosure generally relates to augmented-reality, virtual-reality, mixed-reality, or hybrid-reality environments.

BACKGROUND

Artificial reality is a form of reality that has been adjusted in some manner before presentation to a user, which may include, e.g., a virtual reality (VR), an augmented reality (AR), a mixed reality (MR), a hybrid reality, or some combination and/or derivatives thereof. Artificial reality content may include completely generated content or generated content combined with captured content (e.g., real-world photographs). The artificial reality content may include video, audio, haptic feedback, or some combination thereof, any of which may be presented in a single channel or in multiple channels (such as stereo video that produces a three-dimensional effect to the viewer). Artificial reality may be associated with applications, products, accessories, services, or some combination thereof, that are, e.g., used to create content in an artificial reality and/or used in (e.g., perform activities in) an artificial reality. The artificial reality system that provides the artificial reality content may be implemented on various platforms, including a headset/head-mounted display (HMD) connected to a host computer system, a standalone HMD, a mobile device or computing system, or any other hardware platform capable of providing artificial reality content to one or more viewers.

When immersed in such artificial reality, particularly VR, via an HMD, a user's view of the real world may be blocked by the physical structure of the HMD. Because objects in the real world and intruders may pose a hazard to the user, there is a need to make the user aware of their presence.

SUMMARY OF PARTICULAR EMBODIMENTS

In the context of augmented or virtual reality (AR/VR), a user may virtually create a space that corresponds to a region in physical space in which the user may safety move (for example, to play a game) while wearing a headset, such as an HMD. The boundaries of this space may be drawn using hand gestures or controllers (e.g., the hand gesture or controller's orientation may be analogous to a virtual laser pointer) along the ground, and the VR system will then construct virtual walls along these boundaries by extending the 2D boundary on the ground upward. However, these boundaries are virtual and cannot be seen by others, who may inadvertently enter the space. Additionally, when creating the initial boundaries, the user may be focused on the actual process of tracing them out (e.g., may be focused on the floor that he is drawing the boundary over with the laser pointer), and thus may not notice unwanted objects (such as a chair) that are left within the boundary, or that protrude past the boundary from the outside (such as the edge of a table). These intruders or objects may be invisible to the user while the user is wearing the HMD, and thus may pose a safety hazard to the user due to the risk of collision. And since images captured by the cameras on the HMD alone may not be able to detect whether a person or object has actually crossed the virtual boundary, there is a need for more precise intrusion detection to alert the user to hazards within the defined space.

Particular embodiments described herein pertain to a guardian intrusion detection system designed to alert the user when an object (e.g., a person, a pet, a toy, furniture, etc.) enters the defined space of the user. The system may generate a point cloud corresponding to observable objects in the room. However, this point cloud may be noisy, so the existence of a point does not necessarily mean that it corresponds to an actual physical object. Alerting the user of false positives may be distracting and detrimental to the immersive experience that artificial reality is meant to provide. Thus, rather than relying on the points as absolute indicators of the existence of physical objects, the system may use them to assess the likelihood of a particular region in space being occupied by a physical object and alert the user when that likelihood is sufficiently high.

In particular embodiments, the system may generate a virtual space that corresponds to a physical region that the user is in and divide that virtual space into voxels. Using computer vision techniques, the system may detect observable features in the user's surroundings and generate a corresponding point cloud for those features. Each point in the point cloud may have coordinates in the virtual space and fall within a voxel. In particular embodiments, each voxel may have one of three possible states: free, occupied, or unknown. Voxels may start off unknown, and rays may be cast from the estimated position of the HMD towards the points in the point cloud to determine which voxels are free and which are occupied. In particular embodiments, the presence of a point in a voxel counts as a vote towards that voxel being occupied by a physical object. The voxels that the ray passes through as the ray is cast towards the point (or from the point towards the user) would each receive a vote for a state of “free”, based on the assumption that if the point corresponding to an observable feature is visible to the cameras of the HMD, then the space between the HMD and the point should be free of objects; otherwise, the feature corresponding to that point would not be observable. After this process is performed for each point in the point cloud, the system may determine whether each voxel is likely to be occupied or free based on the votes it received.

However, because the points are very noisy, especially as the distance between them and the HMD increases, temporal and/or density values may be considered when determining whether a voxel with a state of occupied is indeed occupied. For example, a voxel that has received at least one “occupied” vote may nevertheless be free if, for example, the voxel has received relatively few “occupied” votes (e.g., 1, 2, or 5 points in the point cloud are within the voxel), its neighboring voxels are free, and/or if it changes states quickly over time. On the other hand, if the voxel has received relatively more “occupied” votes (e.g., 10, 15, or 20 points in the point cloud are within the voxel), has occupied neighboring voxels, and/or remains occupied for a threshold amount of time, it may be recognized as truly occupied by a physical object. These occupied voxels may then be compared to the boundary drawn by the user, to determine whether the detected object is inside or outside the defined space and whether an alert is warranted.

In particular embodiments, additional rules may dictate whether an occupied voxel in the user's defined space should trigger an alert. For example, one rule may be configured to filter out occupied voxels that are likely to correspond to the user's arms or legs. For example, an occupied voxel that lies beyond a threshold distance from the user may trigger an alert for the user, but occupied voxels that are within the threshold distance may be ignored, (so as to not alert the user of his own arms or legs). Similarly, it may be unnecessary or undesirable to trigger an alert that pulls a user out of the game for objects that are too far from the user to pose a hazard.

Once an intruding object is determined, the user may be alerted to its presence in a number of visual or audio manners involving varying degrees of disrupting the media being viewed by the user. Safety considerations may be used to determine how much to take the user out of the game, and the nature of the game may be used in adapting any visual and/or audio alerts. For example, if the user is playing a very active game where collision with an intruder is likely, the game may be paused when an alert is issued. On the other hand, if the user is playing a calmer, more meditative game, pausing the game or issuing a flashy alert may be unnecessary.

The embodiments disclosed herein are only examples, and the scope of this disclosure is not limited to them. Particular embodiments may include all, some, or none of the components, elements, features, functions, operations, or steps of the embodiments disclosed herein. Embodiments according to the invention are in particular disclosed in the attached claims directed to a method, a storage medium, a system and a computer program product, wherein any feature mentioned in one claim category, e.g. method, can be claimed in another claim category, e.g. system, as well. The dependencies or references back in the attached claims are chosen for formal reasons only. However, any subject matter resulting from a deliberate reference back to any previous claims (in particular multiple dependencies) can be claimed as well, so that any combination of claims and the features thereof are disclosed and can be claimed regardless of the dependencies chosen in the attached claims. The subject matter which can be claimed comprises not only the combinations of features as set out in the attached claims, but also any other combination of features in the claims, wherein each feature mentioned in the claims can be combined with any other feature or combination of other features in the claims. Furthermore, any of the embodiments and features described or depicted herein can be claimed in a separate claim and/or in any combination with any embodiment or feature described or depicted herein or with any of the features of the attached claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example method for detecting intrusions in a user's defined space.

FIG. 2 illustrates an example network environment associated with an artificial reality device.

FIG. 3 illustrates an example HMD system wirelessly connected to a computer system.

FIGS. 4A-4C illustrate example instances of setting up a guardian boundary.

FIG. 5 illustrates an example HMD.

FIG. 6 illustrates an example method for determining the occupancy states of voxels.

FIG. 7 illustrates an example process of ray-casting to determine free voxels.

FIGS. 8A-8C illustrate example visualizations presented to a user of physical objects left within a guardian during setup of the guardian.

FIGS. 9A-9C illustrate example visualizations presented to a user of physical intruders moving into a guardian while the user is wearing an HMD.

FIG. 10 illustrates an example computer system.

DESCRIPTION OF EXAMPLE EMBODIMENTS

FIG. 1 illustrates an example method 100 for determining whether one or more physical objects have intruded into a defined space occupied by a user wearing an HMD (the defined space around the user may be referred to as “guardian” herein). The method may begin at step 110, in which virtual objects are displayed to a user through the HMD. At step 120, the system may access the definition of a virtual boundary of the defined space within a larger physical space. The virtual boundary of the defined space may be drawn by the user during system setup or generated automatically based on computer-vision techniques. The system may determine whether any physical objects appear to be within the physical space. This may be achieved by capturing images of the user's surrounding using externally-facing cameras and processing the images to detect observable features of objects. For any that are detected, the system generates, at step 130, a plurality of spatial points based on depth measurements of these observable features of physical objects. The points may be generated using stereoscopic techniques, for example. However, the points generated may be noisy or inaccurate. Thus, at step 140, they system determines, based on the spatial points, locations at which detected physical objects are likely to exist. As will be described in further detail below, the system may assess the likelihood of a region in space being truly occupied by a physical object using, for example, voxels and a voting algorithm. At step 150, the system determines specifically whether the physical objects that are likely to exist intrude the boundary of the defined space or guardian of the user. As unnoticed physical objects may pose a hazard to an unwitting user who is wearing an HMD and thus unable to see them, at step 160, an alert is issued to the user in response to the detection of physical objects within the guardian.

FIG. 2 illustrates an example network environment 200 associated with a social-networking system. Network environment 200 includes a user 201 wearing an HMD, a main computer system 230, a social-networking system 260, and a third-party system 270 connected to each other by a network 210. Although FIG. 2 illustrates a particular arrangement of user 201, main computer system 230, social-networking system 260, third-party system 270, and network 210, this disclosure contemplates any suitable arrangement of user 201, main computer system 230, social-networking system 260, third-party system 270, and network 210. As an example and not by way of limitation, two or more of main computer system 230, social-networking system 260, and third-party system 270 may be connected to each other directly, bypassing network 210. As another example, two or more of main computer system 230, social-networking system 260, and third-party system 270 may be physically or logically co-located with each other in whole or in part. Moreover, although FIG. 2 illustrates a particular number of users 201, main computer systems 230, social-networking systems 260, third-party systems 270, and networks 210, this disclosure contemplates any suitable number of users 201, main computer systems 230, social-networking systems 260, third-party systems 270, and networks 210. As an example and not by way of limitation, network environment 200 may include multiple users 201, main computer systems 230, social-networking systems 260, third-party systems 270, and networks 210.

In particular embodiments, user 201 may be an individual that interacts or communicates with or over social-networking system 260. In particular embodiments, social-networking system 260 may be a network-addressable computing system hosting an online social network. Social-networking system 260 may generate, store, receive, and send social-networking data, such as, for example, user-profile data, concept-profile data, social-graph information, or other suitable data related to the online social network. Social-networking system 260 may be accessed by the other components of network environment 200 either directly or via network 210. In particular embodiments, social-networking system 260 may include an authorization server (or other suitable component(s)) that allows user 201 to opt in to or opt out of having their actions logged by social-networking system 260 or shared with other systems (e.g., third-party systems 270), for example, by setting appropriate privacy settings. A privacy setting of a user may determine what information associated with the user may be logged, how information associated with the user may be logged, when information associated with the user may be logged, who may log information associated with the user, whom information associated with the user may be shared with, and for what purposes information associated with the user may be logged or shared. Authorization servers may be used to enforce one or more privacy settings of the users of social-networking system 260 through blocking, data hashing, anonymization, or other suitable techniques as appropriate. In particular embodiments, third-party system 270 may be a network-addressable computing system that can host media such as games playable by the user through the HMD. Third-party system 270 may generate, store, receive, and send media and user data, such as, for example, an initial download of a game itself, data used during gameplay, or information about the user playing the game, such as gaming progress, preferences, or patterns. The third-party system data generated, stored, received, and sent may be determined by preferences or privacy settings of the user stored as social-networking data in social-networking system 260. Third-party system 270 may be accessed by the other components of network environment 200 either directly or via network 210. In particular embodiments, one or more users 201 may use one or more main computer systems 230 to access, send data to, and receive data from social-networking system 260 or third-party system 270. Main computer system 230 may access social-networking system 260 or third-party system 270 directly, via network 210, or via a third-party system. As an example and not by way of limitation, main computer system 230 may access third-party system 270 via social-networking system 260. Main computer system 230 may be any suitable computing device, such as, for example, a personal computer, a laptop computer, a cellular telephone, a smartphone, a tablet computer, or an augmented/virtual reality device.

This disclosure contemplates any suitable network 210. As an example and not by way of limitation, one or more portions of network 210 may include an ad hoc network, an intranet, an extranet, a virtual private network (VPN), a local area network (LAN), a wireless LAN (WLAN), a wide area network (WAN), a wireless WAN (WWAN), a metropolitan area network (MAN), a portion of the Internet, a portion of the Public Switched Telephone Network (PSTN), a cellular telephone network, or a combination of two or more of these. Network 210 may include one or more networks 210.

Links 250 may connect main computer system 230, social-networking system 260, and third-party system 270 to communication network 210 or to each other. This disclosure contemplates any suitable links 250. In particular embodiments, one or more links 250 include one or more wireline (such as for example Digital Subscriber Line (DSL) or Data Over Cable Service Interface Specification (DOCSIS)), wireless (such as for example Wi-Fi or Worldwide Interoperability for Microwave Access (WiMAX)), or optical (such as for example Synchronous Optical Network (SONET) or Synchronous Digital Hierarchy (SDH)) links. In particular embodiments, one or more links 250 each include an ad hoc network, an intranet, an extranet, a VPN, a LAN, a WLAN, a WAN, a WWAN, a MAN, a portion of the Internet, a portion of the PSTN, a cellular technology-based network, a satellite communications technology-based network, another link 250, or a combination of two or more such links 250. Links 250 need not necessarily be the same throughout network environment 200. One or more first links 250 may differ in one or more respects from one or more second links 250.

In the context of AR/VR, a user wearing an HMD may enter or virtually create a play space, or guardian, within which to interact with some specific media. For example, the user may play a game within the guardian. However, this guardian is only visible to the user wearing the HMD. Thus, other people, unable to see its virtual boundary, may inadvertently walk into the guardian. Additionally, during setup of the guardian, the user may not notice objects within or protruding into the guardian. Because these human or other intruders may pose a collision hazard to the user, there is a need to accurately detect their existence and location so as to warn the user of their presence.

FIG. 3 illustrates an example of an HMD 310 wirelessly connected to main computer system 320, such as main computer system 230 of FIG. 2. HMD 310 may comprise one or more displays, display engines, and computational resources. Main computer system 320, by contrast, may comprise more computational resources. Main computer 320 may transmit each entire rendered frame to HMD 310 for display. In alternative embodiments, the HMD 310 itself may render frames locally. Though HMD 310 is illustrated as being connected to main computer system 320 wirelessly, this disclosure contemplates any suitable type of connection, including wired connections. Similarly, though a single HMD is shown connected to a single main computer system, this disclosure contemplates multiple HMDs connected to one or more main computer systems.

FIGS. 4A-4C illustrate examples of the creation of a defined space around the user, which is also referred to as a guardian. In FIG. 4A, a user wearing an HMD 410 is shown creating a guardian within a larger physical space 400 using hand gestures or a controller 415 that simulates, for example, a virtual laser pointer. Ideally, this guardian is devoid of any physical objects; this will allow the user to move freely around the guardian, for example, while wearing the HMD 410 and playing an active video game. Thus, any physical objects 405 within the physical space 400 should be outside the boundary 420 of the guardian. Boundary 420 will then be vertically extruded upward to an appropriate height, creating virtual walls 425, so that a finished guardian surrounds and encloses the user.

However, users are prone to errors when setting up guardians, and sometimes a physical object that could pose a collision hazard to the user is accidentally included within the guardian. FIG. 4B illustrates an example in which a user has overlooked an object 430 within the guardian during creation of boundary 420. This oversight could occur for several reasons. For example, the object may be small and easily missed, or the user may be focused on creating the boundary of the guardian and may not be looking at its interior. This oversight may also occur if, rather than actively creating the boundary, the user simply instructs that a previously created boundary be recreated. For example, the user may have taken the game system to a new physical space, and simply instructed the system to start up using the same boundaries or guardian dimensions as a previous session. However. the user may not realize that an object in the new physical space has been included within this guardian. Alternatively, the user may restart the system in the original physical space 400 with the same guardian dimensions as a previous session, without realizing that an object, such as object 430, has been moved into the guardian since the time of that previous session.

FIG. 4C illustrates an example in which a user drawing a boundary does not notice that an object 435 outside the boundary 420 will protrude into the guardian once the boundary is drawn. Accordingly, the user should be alerted to the presence of the portion 440 of object 435 within the guardian, either after the guardian is drawn or while the user is in the process of drawing the guardian, when the system detects that object 435 protrudes past the boundary 420 despite appearing to be outside the boundary. The system may detect this protrusion in real time, as the user actually draws the boundary up to and past the protruding portion 440; alternatively, the system may predict a likely location of the boundary based on the user's position, movements, portions of the boundary that have already been drawn, and/or location or direction of the controller 415. Once detected, an alert, such a visualization of the protruding portion 440, may be provided so that the user may correct the guardian boundary 420 or move the object 435.

Once created, the guardian may be validated and checked for any included objects or portions of objects, and then continuously monitored to detect any new intruders.

FIG. 5 illustrates an example AR/VR HMD 504 worn by a user 502 within an AR/VR system 500. In particular embodiments, the AR/VR system 500 may comprise the HMD 504, a controller 506, and a computing system 508. The HMD 504 may be worn over the user's eyes and provide visual content to the user 502 through internal displays (not shown). The HMD 504 may have two separate internal displays, one for each eye of the user 502. As illustrated in FIG. 5, the HMD 504 may completely cover the user's field of view. By being the exclusive provider of visual information to the user 502, the HMD 504 achieves the goal of providing an immersive virtual reality experience. One consequence of this, however, is that the user 502 cannot see the physical environment surrounding him when immersed in the virtual reality media, as his vision is shielded by the HMD 504. As such, the intrusion detection described herein is needed to provide the user with real-time visual information about his physical surroundings.

The HMD 504 may have external-facing cameras, such as four cameras 505A, 505B, 505C, and 505D (not shown) arranged around the HMD in FIG. 5. While only four cameras 505A-505D are described, the HMD 504 may have any number of cameras facing any direction (e.g., an upward-facing camera to capture the ceiling or room lighting, a downward-facing camera to capture a portion of the user's face and/or body, additional forward- or backward-facing cameras, and/or an internal camera for capturing the user's eye gaze for eye-tracking purposes). The external-facing cameras are configured to capture the physical environment around the user and may do so continuously to generate a sequence of frames (e.g., as a video).

The captured frames may be processed to generate depth measurements of physical objects observed by the cameras 505A-505D. Depth may be measured in a variety of ways. In particular embodiments, depth may be computed based on stereo images. For example, pairs of cameras among cameras 505A-505D may share an overlapping field of view and be configured to capture images simultaneously. As a result, the same physical object may be captured by both cameras in a pair at the same time. For example, a particular feature of an object may appear at one pixel p_(A) in the image captured by camera 505A, and the same feature may appear at another pixel p_(B) in the image captured by camera 505B. As long as the depth measurement system knows that the two pixels correspond to the same feature, it may use triangulation techniques to compute the depth of the observed feature. For example, based on the camera 505A's position within a 3D space and the pixel location of p_(A) relative to the camera 505A's field of view, a line could be projected from the camera 505A and through the pixel p_(A). A similar line could be projected from the other camera 505B and through the pixel p_(B). Since both pixels correspond to the same physical feature, the two lines intersect. The two intersecting lines and an imaginary line drawn between the two cameras 505A and 505B form a triangle, which may be used to compute the distance of the observed feature from either camera 505A or 505B or a point in space where the observed feature is located.

In particular embodiments, the pose (e.g., position and orientation) of the HMD 504 within the environment may be needed. For example, in order to render the appropriate display for the user 502 while he is moving about in a virtual environment, the system 500 would need to determine his position and orientation at any moment. Based on the pose of the HMD, the system 500 may further determine the viewpoint of any of the cameras 505A-505D or either of the user's eyes. In particular embodiments, the HMD 504 may be equipped with inertial-measurement units (“IMUs”). The data generated by the IMUS, along with the stereo imagery captured by the external-facing cameras, allow the system 500 to compute the pose of the HMD 504 using, for example, SLAM (simultaneous localization and mapping) or other suitable techniques.

In particular embodiments, the artificial reality system 500 may further have one or more controllers 506 that enable the user 502 to provide inputs. The controller 506 may communicate with the HMD 504 or a separate computing unit 508 via a wireless or wired connection. The controller 506 may have any number of buttons or other mechanical input mechanisms. In addition, the controller 506 may have an IMU so that the position of the controller 506 may be tracked. The controller 506 may further be tracked based on predetermined patterns on the controller. For example, the controller 506 may have several infrared LEDs or other known observable features that collectively form a predetermined pattern. Using a sensor or camera, the system 500 may be able to capture an image of the predetermined pattern on the controller. Based on the observed orientation of those patterns, the system may compute the controller's position and orientation relative to the sensor or camera.

The artificial reality system 500 may further include a computer unit 508. The computer unit may be a stand-alone unit that is physically separate from the HMD 504 or it may be integrated with the HMD 504. In embodiments where the computer 508 is a separate unit, it may be communicatively coupled to the HMD 504 via a wireless or wired link. The computer 508 may be a high-performance device, such as a desktop or laptop, or a resource-limited device, such as a mobile phone. A high-performance device may have a dedicated GPU and a high-capacity or constant power source. A resource-limited device, on the other hand, may not have a GPU and may have limited battery capacity. As such, the algorithms that could be practically used by an AR/VR system 500 may depend on the capabilities of its computer unit 508.

Depth measurements of physical objects generated based on images can be imprecise, particularly as the distance from the cameras increases. As a result, the 3D points obtained through this process may be noisy and unreliable. To improve the reliability of the data gathered, a method of considering a quantity and/or temporal consistency of detected 3D points may be performed, as illustrated in FIG. 6. Method 600 may begin at step 610, in which physical space 400 is divided into a plurality of voxels, creating a voxel grid. Each voxel may have a given size (for example, 10 cm×10 cm, 20 cm×33 cm, etc.), and the size or resolution of the voxels may depend on factors such as memory or processing restraints of the AR/VR system, or a desired level of precision in object detection. Each voxel further has a state that could be, e.g., free, occupied, or unknown; at setup, all voxels may start with a state of unknown.

In particular embodiments, each of the 3D points in the point cloud falls into one voxel in the voxel grid and a voxel may contain many 3D points. Each 3D point corresponds to a potential detected object or feature in the physical space, and each point counts as a vote that its corresponding voxel is occupied. If a given voxel contains enough points, or votes, within it, then the system would have more confidence that the points correspond to one or more actual physical objects within the voxel, rather than merely noise.

At step 620, a number of points within each voxel of the voxel grid is determined. At step 630, the method determines whether the points within each voxel satisfy one or more threshold criteria (e.g., if the number of points within the threshold is greater than a predefined number, such as 3, 5, 10, etc.). In particular embodiments, the threshold criteria may be uniformly applied across the voxel grid. In other embodiments, different voxels may use different threshold criteria (e.g., the threshold could be a function of distance between the voxel and the user, such that voxels that are farther away have higher threshold requirements than closer voxels). If the threshold criteria are satisfied, the method proceeds to step 631, in which a state of the voxel is updated to “occupied”. A greater number of points within a voxel indicates a higher likelihood that the points accurately correspond to an object, whereas if only one or a few points are detected, there may be a higher likelihood that the points are just noise. Similarly, many points clustered densely together indicates a higher likelihood that they accurately correspond to a detected object, whereas if only a few scattered points are detected, there may be a higher likelihood that the points are just noise. If the number of points within a voxel is not greater than the threshold, the method proceeds to step 632, in which the state of the voxel is further assessed to determine whether it should be either “free” or “unknown”.

Additionally or alternatively to step 630, step 640 may be performed. At step 640, the method determines, for each of the detected points of each voxel, whether the point has been detected for a threshold amount of time or a threshold number of frames. If a point has not been detected for a threshold amount of time, the method proceeds to step 680, in which the point is ignored, and no vote for “occupied” is added to the corresponding voxel. On the other hand, if a point is detected for a threshold amount of time, the method proceeds to step 650, in which a vote of “occupied” is added to the voxel containing the point. The longer a point has been detected, the greater the likelihood that it accurately corresponds to an object. For example, if a point is only detected for a brief amount of time, or if it flashes in and out of existence over a series of frames, it is likely to be just noise; on the other hand, if a point is detected and remains consistently detected for a certain amount of time, it likely corresponds to an actual detected object. Thus, the consistency in which a point is observed over time may be used to weigh the vote of that point. For example, a point that has been consistently observed in the past five frames may be weighted more than a point that is observed in only the current frame. The method then proceeds to step 660, in which a number of “occupied” votes are tallied for each voxel.

At step 670, it is determined whether the tallied number of votes is greater than a threshold. If so, the method proceeds to step 671, in which the state of the corresponding voxel is set to “occupied”; otherwise, the method proceeds to step 672, in which the state of the voxel is further assessed to determine whether it should be “free” or “unknown”.

Either or both of the considerations of point density, as described with respect to steps 630-632, and temporal consistency, as described with respect to steps 640-680, may be used when determining the state of a voxel, depending on factors such as the processing resource consumption and capabilities of the AR/VR system.

In particular embodiments, once voxels have been assigned their states, the system may detect a number of contiguous voxels having states of “occupied”. If more than a threshold number of contiguous voxels are occupied, the system may determine that there is sufficient evidence that an actual object(s) is at the location of these adjoining voxels. Additionally, temporal decay may be considered in the detection of an object. For instance, if a voxel becomes occupied but adjoining voxels do not, after a certain amount of time, the state of the voxel may be set to “free” or “unknown”, as it is less likely that an object will occupy only a single voxel. If, on the other hand, a voxel becomes occupied for less than a threshold amount of time, but adjoining voxels are also occupied, the system may determine that an object is present and moving through the locations of the occupied voxels.

As illustrated in FIG. 7, the system may determine the states of other voxels in the voxel grid by casting rays (e.g., R1-R7) from the viewpoint of the HMD into the physical space 700 towards the points in the point cloud. As previously described, a point that is within a voxel counts as a vote toward that voxel being occupied. For example, points P1, P2, and P3 in voxels v3, v3, and v5, respectively, count as “occupied” votes. Accordingly, voxel v3 will receive two votes for “occupied”, and voxel v5 will receive one vote. Meanwhile, voxels between the HMD and each of the points that are intersected by the rays are given a vote of “free”, because space between the HMD and an intersected point should be empty. For example, ray R3 intersects voxels v14, v15, and v16 before it reaches the voxel v3 in which the target point P2 lies. As such, voxels v14, v15, and v16 each receive one “free” vote. Based on the votes, the system could treat a voxel as being occupied, free, or unknown. For example, if the “free” votes of a voxel significantly outnumber the voxel's “occupied” votes, then the voxel could be treated as being “free.” If the “occupied” votes significantly outnumber the “free” votes, the voxel could be treated as being “occupied.” If the difference between the “free” and “occupied” votes is insignificant, then the state of the voxel could be deemed “unknown.” For example, in particular embodiments, a numeric value may represent the tallied vote count for each voxel. Each “occupied” vote may increase that value by 1, and each “free” vote may decrease the value by 1. Thus, after the votes are tallied, the numeric value could be negative, positive, or zero. In particular embodiments, the numeric value could have a predefined range (e.g., −10 to +10). One subrange (e.g., +3 to +10) may correspond to a state of “occupied,” a second subrange (e.g., −3 to −10) may correspond to a state of “free,” and a third subrange (e.g., −2 to 2) may correspond to a state of “unknown.” A voxel having the state of “occupied” suggests that the voxel likely contains a physical object.

In particular embodiments, each voxel may store a floating point value, with the state of a voxel corresponding to a given subrange of values, as discussed above. Each point within a voxel contributes a vote (which could be weighted) to the state of the voxel being occupied; however, not all votes may be given the same weight. For example, a noise model may be used to weight the value of a point based on its distance from the cameras of the HMD. With stereo reconstruction, the detection of points becomes less precise and less reliable as the distance between the point and the cameras increases. Thus, distant points may be given less weight than closer points when tallying votes for a given voxel.

When an object poses a hazard to the user, a visual and/or audio alert may be issued to the user to indicate the presence and/or location of the object. However, these hazardous objects are generally ones that are within the guardian, as the user expects the space within the guardian boundary to be safe (e.g., free of obstacles) and objects outside of the guardian may not be close enough to the user to pose a danger. Accordingly, in particular embodiments, a distinction may be made between occupied voxels within the guardian and those outside the guardian. When the physical space is divided into the voxel grid, locations of voxels may be compared to the location of the boundary of the guardian. Voxels deemed to be “occupied” within the boundary may trigger an alert and voxels beyond that boundary may be ignored.

In particular embodiments, within the guardian, distance ranges may be set to control when it is appropriate to issue an alert to the user for a detected intruder. For example, even if an intruder is within the guardian, it may be far enough away from the user as to not pose a risk. For instance, an intruder such as a person or pet may pass quickly through a portion of the guardian that is distant enough (e.g., 10, 12, 15 meters) from the user or brief enough (e.g., 1 or less than 1 second) so as not to impede his movements during, for example, playing a game. In such a case, it may not be necessary or desirable to interrupt the game.

Similarly, a threshold distance may be set surrounding the user, and objects close to the user within that threshold distance may not cause an alert to be issued. This may prevent, for example, an alert being issued in response to movement of the user's own arms or legs. The size of the threshold distance may be determined in several ways. It may simply be a set predetermined size. Alternatively, the threshold may be based on detection of a controller held by the user, and distance within which to ignore detected objects may be a function of how close to the body the user is holding the controller (because an object within this distance is likely to be either a part of the user's body or something that the user is deliberately touching). Another option to avoid issuing an alert for movements of the user himself is to perform body tracking of the user.

Once the system has detected an intruder and determined that alert should be issued, many options exist as to the nature or properties of that alert. Particular visualization or audio techniques may be based on, for example, which voxels are actually occupied, when they are detected, or on properties of the media being viewed by the user through the HMD. As an example, as illustrated in FIG. 8A, a detected intruder, such as a chair, may be displayed to the user as a point cloud. As another example, FIG. 8B illustrates a detected object displayed as a visualization of the actual occupied voxels themselves. As yet another example, as illustrated in FIG. 8C, an intruder such as the corner of a table that protrudes into the guardian, or that is predicted to be likely to protrude into the guardian once the boundary has been completely drawn, may be outlined to bring it to the attention of the user. When the user is in the initial setup of the guardian or drawing the boundary, the HMD is operating in mixed-reality mode, or in a mode of VR in which a visualization of the real world (e.g., based on 3D reconstruction techniques) is presented to the user in as close to real time as possible. Accordingly, presentation of detected intruders as simply points, voxels, or lines may be helpful in bringing them to the attention of the user without consuming too much processing power. Additionally, in a situation where the AR-type display shows the surrounding physical space in greyscale, adding color to the displayed visual alert may further attract the user's attention.

After guardian setup, during presentation of media, the user is fully immersed in VR. Thus, when an intruder is detected, this element of the real world must be presented on top of the VR content, or the VR content may be disrupted to show the intruder. One example is shown in FIG. 9A, in which a user is immersed in the VR content of a game. An intruder, such as a person, passes through the guardian, and an outline 910 of this intruder is displayed to the user overlaid on the VR content. Instead of an outline, an image of the detected person may be displayed. As illustrated in FIG. 9B, the display of the intruder passing through the guardian may alternatively be shown as a ghostly aura 920 rather than a simple outline. The created contours of the outline or the aura of the intruder may be based on the voxels of the voxel grid. Occupied voxels determined to correspond to an intruder may trigger one or more of the cameras on the HMD to capture images of the area where the intruder is located. A captured image may then be filtered, such as through a gradient filter, to create the contours displayed to the user. Alternatively, to conserve resources, the VR system may just display a less-defined point cloud at a location of the detected intruder. Such a filtering or point display process may be less resource-intensive than performing stereo reconstruction to display the captured image directly to the user.

Safety considerations may dictate a more intrusive alert, however, particularly during very active games involving a lot of user movement. In such a situation, the game may be paused when an alert is issued. Additionally or alternatively, as shown in FIG. 9C, a portal 930 effect may be opened in the game whether it is paused or still in session, thus providing a way for the user to see real-world images of the intruder as captured by the cameras of the HMD. This opening of the portal may be automatic, or a visual and/or audible alert prompting the user to open the portal manually may be issued.

Characteristics of visual and/or audio alerts, and how much to pull the user out of the game or disrupt the user's immersive experience, may be further based on characteristics such as visual/audio intensity or activity level of the media or game being viewed. For example, if a user is playing a very quiet, relaxing game that does not involve much movement, it may not be necessary to interrupt the game, or in some cases even issue an alert, for certain types of intruders. If an alert is issued, such as for an approaching pet, characteristics of the alert may be selected so as not to startle the user, as could occur if intrusive, flashing visualizations or loud audio alerts were issued during the quiet game. On the other hand, if the user is playing a very fast-paced game, or one with bright or psychedelic visual characteristics, a simple outline of an intruder may not be noticed, and thus the game may need to be paused, or a visual or audio alert that would properly stand out from such media would need to be generated.

Systems and Methods

FIG. 10 illustrates an example computer system 1000. In particular embodiments, one or more computer systems 1000 perform one or more steps of one or more methods described or illustrated herein. In particular embodiments, one or more computer systems 1000 provide functionality described or illustrated herein. In particular embodiments, software running on one or more computer systems 1000 performs one or more steps of one or more methods described or illustrated herein or provides functionality described or illustrated herein. Particular embodiments include one or more portions of one or more computer systems 1000. Herein, reference to a computer system may encompass a computing device, and vice versa, where appropriate. Moreover, reference to a computer system may encompass one or more computer systems, where appropriate.

This disclosure contemplates any suitable number of computer systems 1000. This disclosure contemplates computer system 1000 taking any suitable physical form. As example and not by way of limitation, computer system 1000 may be an embedded computer system, a system-on-chip (SOC), a single-board computer system (SBC) (such as, for example, a computer-on-module (COM) or system-on-module (SOM)), a desktop computer system, a laptop or notebook computer system, an interactive kiosk, a mainframe, a mesh of computer systems, a mobile telephone, a personal digital assistant (PDA), a server, a tablet computer system, an augmented/virtual reality device, or a combination of two or more of these. Where appropriate, computer system 1000 may include one or more computer systems 1000; be unitary or distributed; span multiple locations; span multiple machines; span multiple data centers; or reside in a cloud, which may include one or more cloud components in one or more networks. Where appropriate, one or more computer systems 1000 may perform without substantial spatial or temporal limitation one or more steps of one or more methods described or illustrated herein. As an example and not by way of limitation, one or more computer systems 1000 may perform in real time or in batch mode one or more steps of one or more methods described or illustrated herein. One or more computer systems 1000 may perform at different times or at different locations one or more steps of one or more methods described or illustrated herein, where appropriate.

In particular embodiments, computer system 1000 includes a processor 1002, memory 1004, storage 1006, an input/output (I/O) interface 1008, a communication interface 1010, and a bus 1012. Although this disclosure describes and illustrates a particular computer system having a particular number of particular components in a particular arrangement, this disclosure contemplates any suitable computer system having any suitable number of any suitable components in any suitable arrangement.

In particular embodiments, processor 1002 includes hardware for executing instructions, such as those making up a computer program. As an example and not by way of limitation, to execute instructions, processor 1002 may retrieve (or fetch) the instructions from an internal register, an internal cache, memory 1004, or storage 1006; decode and execute them; and then write one or more results to an internal register, an internal cache, memory 1004, or storage 1006. In particular embodiments, processor 1002 may include one or more internal caches for data, instructions, or addresses. This disclosure contemplates processor 1002 including any suitable number of any suitable internal caches, where appropriate. As an example and not by way of limitation, processor 1002 may include one or more instruction caches, one or more data caches, and one or more translation lookaside buffers (TLBs). Instructions in the instruction caches may be copies of instructions in memory 1004 or storage 1006, and the instruction caches may speed up retrieval of those instructions by processor 1002. Data in the data caches may be copies of data in memory 1004 or storage 1006 for instructions executing at processor 1002 to operate on; the results of previous instructions executed at processor 1002 for access by subsequent instructions executing at processor 1002 or for writing to memory 1004 or storage 1006; or other suitable data. The data caches may speed up read or write operations by processor 1002. The TLBs may speed up virtual-address translation for processor 1002. In particular embodiments, processor 1002 may include one or more internal registers for data, instructions, or addresses. This disclosure contemplates processor 1002 including any suitable number of any suitable internal registers, where appropriate. Where appropriate, processor 1002 may include one or more arithmetic logic units (ALUs); be a multi-core processor; or include one or more processors 1002. Although this disclosure describes and illustrates a particular processor, this disclosure contemplates any suitable processor.

In particular embodiments, memory 1004 includes main memory for storing instructions for processor 1002 to execute or data for processor 1002 to operate on. As an example and not by way of limitation, computer system 1000 may load instructions from storage 1006 or another source (such as, for example, another computer system 1000) to memory 1004. Processor 1002 may then load the instructions from memory 1004 to an internal register or internal cache. To execute the instructions, processor 1002 may retrieve the instructions from the internal register or internal cache and decode them. During or after execution of the instructions, processor 1002 may write one or more results (which may be intermediate or final results) to the internal register or internal cache. Processor 1002 may then write one or more of those results to memory 1004. In particular embodiments, processor 1002 executes only instructions in one or more internal registers or internal caches or in memory 1004 (as opposed to storage 1006 or elsewhere) and operates only on data in one or more internal registers or internal caches or in memory 1004 (as opposed to storage 1006 or elsewhere). One or more memory buses (which may each include an address bus and a data bus) may couple processor 1002 to memory 1004. Bus 1012 may include one or more memory buses, as described below. In particular embodiments, one or more memory management units (MMUs) reside between processor 1002 and memory 1004 and facilitate accesses to memory 1004 requested by processor 1002. In particular embodiments, memory 1004 includes random access memory (RAM). This RAM may be volatile memory, where appropriate. Where appropriate, this RAM may be dynamic RAM (DRAM) or static RAM (SRAM). Moreover, where appropriate, this RAM may be single-ported or multi-ported RAM. This disclosure contemplates any suitable RAM. Memory 1004 may include one or more memories 1004, where appropriate. Although this disclosure describes and illustrates particular memory, this disclosure contemplates any suitable memory.

In particular embodiments, storage 1006 includes mass storage for data or instructions. As an example and not by way of limitation, storage 1006 may include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disc, a magneto-optical disc, magnetic tape, or a Universal Serial Bus (USB) drive or a combination of two or more of these. Storage 1006 may include removable or non-removable (or fixed) media, where appropriate. Storage 1006 may be internal or external to computer system 1000, where appropriate. In particular embodiments, storage 1006 is non-volatile, solid-state memory. In particular embodiments, storage 1006 includes read-only memory (ROM). Where appropriate, this ROM may be mask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), electrically alterable ROM (EAROM), or flash memory or a combination of two or more of these. This disclosure contemplates mass storage 1006 taking any suitable physical form. Storage 1006 may include one or more storage control units facilitating communication between processor 1002 and storage 1006, where appropriate. Where appropriate, storage 1006 may include one or more storages 1006. Although this disclosure describes and illustrates particular storage, this disclosure contemplates any suitable storage.

In particular embodiments, I/O interface 1008 includes hardware, software, or both, providing one or more interfaces for communication between computer system 1000 and one or more I/O devices. Computer system 1000 may include one or more of these I/O devices, where appropriate. One or more of these I/O devices may enable communication between a person and computer system 1000. As an example and not by way of limitation, an I/O device may include a keyboard, keypad, microphone, monitor, mouse, printer, scanner, speaker, still camera, stylus, tablet, touch screen, trackball, video camera, another suitable I/O device or a combination of two or more of these. An I/O device may include one or more sensors. This disclosure contemplates any suitable I/O devices and any suitable I/O interfaces 1008 for them. Where appropriate, I/O interface 1008 may include one or more device or software drivers enabling processor 1002 to drive one or more of these I/O devices. I/O interface 1008 may include one or more I/O interfaces 1008, where appropriate. Although this disclosure describes and illustrates a particular I/O interface, this disclosure contemplates any suitable I/O interface.

In particular embodiments, communication interface 1010 includes hardware, software, or both providing one or more interfaces for communication (such as, for example, packet-based communication) between computer system 1000 and one or more other computer systems 1000 or one or more networks. As an example and not by way of limitation, communication interface 1010 may include a network interface controller (NIC) or network adapter for communicating with an Ethernet or other wire-based network or a wireless NIC (WNIC) or wireless adapter for communicating with a wireless network, such as a WI-FI network. This disclosure contemplates any suitable network and any suitable communication interface 1010 for it. As an example and not by way of limitation, computer system 1000 may communicate with an ad hoc network, a personal area network (PAN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), or one or more portions of the Internet or a combination of two or more of these. One or more portions of one or more of these networks may be wired or wireless. As an example, computer system 1000 may communicate with a wireless PAN (WPAN) (such as, for example, a BLUETOOTH WPAN), a WI-FI network, a WI-MAX network, a cellular telephone network (such as, for example, a Global System for Mobile Communications (GSM) network), or other suitable wireless network or a combination of two or more of these. Computer system 1000 may include any suitable communication interface 1010 for any of these networks, where appropriate. Communication interface 1010 may include one or more communication interfaces 1010, where appropriate. Although this disclosure describes and illustrates a particular communication interface, this disclosure contemplates any suitable communication interface.

In particular embodiments, bus 1012 includes hardware, software, or both coupling components of computer system 1000 to each other. As an example and not by way of limitation, bus 1012 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a front-side bus (FSB), a HYPERTRANSPORT (HT) interconnect, an Industry Standard Architecture (ISA) bus, an INFINIBAND interconnect, a low-pin-count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCIe) bus, a serial advanced technology attachment (SATA) bus, a Video Electronics Standards Association local (VLB) bus, or another suitable bus or a combination of two or more of these. Bus 1012 may include one or more buses 1012, where appropriate. Although this disclosure describes and illustrates a particular bus, this disclosure contemplates any suitable bus or interconnect.

Herein, a computer-readable non-transitory storage medium or media may include one or more semiconductor-based or other integrated circuits (ICs) (such, as for example, field-programmable gate arrays (FPGAs) or application-specific ICs (ASICs)), hard disk drives (HDDs), hybrid hard drives (HHDs), optical discs, optical disc drives (ODDs), magneto-optical discs, magneto-optical drives, floppy diskettes, floppy disk drives (FDDs), magnetic tapes, solid-state drives (SSDs), RAM-drives, SECURE DIGITAL cards or drives, any other suitable computer-readable non-transitory storage media, or any suitable combination of two or more of these, where appropriate. A computer-readable non-transitory storage medium may be volatile, non-volatile, or a combination of volatile and non-volatile, where appropriate.

Herein, “or” is inclusive and not exclusive, unless expressly indicated otherwise or indicated otherwise by context. Therefore, herein, “A or B” means “A, B, or both,” unless expressly indicated otherwise or indicated otherwise by context. Moreover, “and” is both joint and several, unless expressly indicated otherwise or indicated otherwise by context. Therefore, herein, “A and B” means “A and B, jointly or severally,” unless expressly indicated otherwise or indicated otherwise by context.

The scope of this disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the example embodiments described or illustrated herein that a person having ordinary skill in the art would comprehend. The scope of this disclosure is not limited to the example embodiments described or illustrated herein. Moreover, although this disclosure describes and illustrates respective embodiments herein as including particular components, elements, feature, functions, operations, or steps, any of these embodiments may include any combination or permutation of any of the components, elements, features, functions, operations, or steps described or illustrated anywhere herein that a person having ordinary skill in the art would comprehend. Furthermore, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative. Additionally, although this disclosure describes or illustrates particular embodiments as providing particular advantages, particular embodiments may provide none, some, or all of these advantages. 

What is claimed is:
 1. A method comprising, by a computing system: displaying, through a head-mounted display (HMD), one or more virtual objects to a user wearing the HMD; accessing a boundary definition that corresponds to a boundary within a physical space surrounding the user; generating a plurality of spatial points based on depth measurements of physical objects within the physical space; determining, based on the spatial points, a location at which a physical object is likely to exist; determining that the location of the physical object is inside the boundary definition; and issuing an alert to the user in response to the determination that the location of the physical object is inside the boundary definition.
 2. The method of claim 1, further comprising dividing the physical space into a plurality of voxels, wherein the voxels are assigned respective occupancy state values using the spatial points, wherein the location at which the physical object is likely to exist is determined based on the occupancy state value of at least a first voxel of the plurality of voxels.
 3. The method of claim 2, wherein the occupancy state value of the first voxel is determined by: determining a subset of the spatial points contained by the first voxel; determining that the subset of spatial points satisfies one or more criteria; and setting the occupancy state value of the first voxel to indicate that the first voxel is occupied.
 4. The method of claim 3, wherein determining that the subset of spatial points satisfies the one or more criteria comprises determining that a number of spatial points in the subset satisfies a threshold number.
 5. The method of claim 2, wherein determining the location at which the physical object is likely to exist comprises determining whether a threshold number of contiguous voxels have respective occupancy state values that indicate the contiguous voxels are occupied.
 6. The method of claim 2, wherein issuing the alert to the user comprises generating a display that illustrates the first voxel associated with the physical object.
 7. The method of claim 6, further comprising: determining that one or more second voxels of the plurality of voxels have respective occupancy state values that indicate the one or more second voxels are occupied; and determining that the one or more second voxels are outside the boundary definition, wherein the generated display excludes the one or more second voxels.
 8. The method of claim 1, further comprising: casting rays towards the location at which the physical object is likely to exist; and determining, based on the cast rays, regions in the physical space that are likely to be unoccupied.
 9. The method of claim 8, wherein determining the regions in the physical space that are likely to be unoccupied comprises: dividing the physical space into a plurality of voxels; and identifying a first subset of the voxels intersected by the cast rays prior to the rays intersecting a second subset of the voxels corresponding to the location at which the physical object is likely to exist, wherein the regions in the physical space that are likely to be unoccupied are determined based on the first subset of voxels.
 10. The method of claim 1, wherein the alert comprises an outline or aura of the physical object overlaid on media viewed by the user.
 11. The method of claim 1, wherein the alert comprises opening a portal in media viewed by the user to allow the physical object to be directly viewed by the user.
 12. The method of claim 1, further comprising: determining an intensity of media viewed by a user; and selecting the alert from among a plurality of types of alerts based on the intensity of the media.
 13. The method of claim 12, wherein the intensity indicates an activity level of the media.
 14. The method of claim 12, wherein the alert is a visual or audio alert, and respective visual characteristics or audio characteristics of the alert are selected based on the intensity of the media.
 15. The method of claim 1, wherein issuing the alert comprises pausing media viewed by the user to issue the alert.
 16. The method of claim 1, wherein the physical object comprises a physical object outside the boundary definition that protrudes inside the boundary definition.
 17. The method of claim 1, further comprising: receiving, from the user, input creating the boundary definition; and issuing the alert to the user while receiving the input if the physical object is detected while creating the boundary definition.
 18. The method of claim 1, further comprising: creating a radius of space surrounding the user; and ignoring physical objects detected within the radius.
 19. A system comprising: one or more processors; and one or more computer-readable non-transitory storage media coupled to one or more of the processors and comprising instructions operable when executed by one or more of the processors to cause the system to: display, through a head-mounted display (HMD), one or more virtual objects to a user wearing the HMD; access a boundary definition that corresponds to a boundary within a physical space surrounding the user; generate a plurality of spatial points based on depth measurements of physical objects within the physical space; determine, based on the spatial points, a location at which a physical object is likely to exist; determine that the location of the physical object is inside the boundary definition; and issue an alert to the user in response to the determination that the location of the physical object is inside the boundary definition.
 20. One or more computer-readable non-transitory storage media embodying software that is operable when executed to: display, through a head-mounted display (HMD), one or more virtual objects to a user wearing the HMD; access a boundary definition that corresponds to a boundary within a physical space surrounding the user; generate a plurality of spatial points based on depth measurements of physical objects within the physical space; determine, based on the spatial points, a location at which a physical object is likely to exist; determine that the location of the physical object is inside the boundary definition; and issue an alert to the user in response to the determination that the location of the physical object is inside the boundary definition. 